From: | Ben Hutchings |
Date: | 14 Aug 99 at 21:32:26 |
Subject: | Re: Re: Accessing Broken SCSI |
From: Ben Hutchings <womble@zzumbouk.demon.co.uk>
On Sat, Aug 14, 1999 at 04:23:24AM +0200, Nicholas Clarke wrote:
> From: Nicholas Clarke <nclarke@diku.dk>
>
> On Sat, 14 Aug 1999, Ben Hutchings wrote:
>
> > > As I said I never tried anything with the SCSI device so I am just
> > > trying to convert some code to my purposes. CMD_READ may well be
> > > easier but without an example it still isn't clear.
> >
> > See the documentation of trackdisk.device - trackdisk.doc, the RKRM:
> > Devices section on it, and example code. SCSI device drivers support
> > virtually all trackdisk functionality (there are a few commands that
> > are documented as specific to trackdisk.device).
>
> AFAIK In case the harddisk is without an rdb sending normal commands
> will not have an effect.
They certainly should.
> The same goes for scsi cdroms/cdr's.
Yes, because SCSI drivers are not required to support them.
> I also tried sending normal commands to an ide harddisk with no rdb,
> didn't work either.
I think you must be mistaken.
> Also the ide scsi.device emulates an scsi controller so why not take
> advantage of it as one.
Sending SCSI commands is much more complicated, and the official
documentation costs additional money.